package com.cskaoyan.service;

import com.cskaoyan.bean.Topic;

import java.util.List;
import java.util.Map;

public interface TopicService {

    Map<String,Object> listTopic(Integer page, Integer limit, String sort, String order,String title,String subtitle);

    Topic createTopic(Topic topic);

    Integer updateTopic(Topic topic);

    Integer deleteTopic(Topic topic);
}
